package cn.yi.boot.shiro.controller.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class UserLoginForm implements Serializable{
    @NotEmpty(message = "用户名不允许为空")
    private String username;

    @NotEmpty(message = "密码不允许为空")
    private String password;

    @NotEmpty(message = "验证码不允许为空")
    private String kaptcha;


    private Integer rememberMe;
}
